/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package framework.groups;

import java.util.ArrayList;

/**
 * Modela um grupo de anotações
 * @author Guilherme
 */
public class Group extends ArrayList<Item>
{
    private Integer identifier;
    private String nameGroup;
    
    public Group(Integer id, String name, ArrayList<Item> notes)
    {
        super(notes);
        this.identifier = id;
        this.nameGroup = name;
    }
    
    public Group(String name, ArrayList<Item> notes)
    {
        super(notes);
        this.nameGroup = name;
    }
    
    public Group(Integer id, String name)
    {
        this.identifier = id;
        this.nameGroup = name;
    }

    
    public Group(String name)
    {
        this.nameGroup = name;
    }

    public Integer getIdentifier()
    {
        return identifier;
    }

    public void setIdentifier(Integer identifier)
    {
        this.identifier = identifier;
    }

    public String getNameGroup()
    {
        return nameGroup;
    }

    public void setNameGroup(String nameGroup)
    {
        this.nameGroup = nameGroup;
    }
        
}
